import { HTTP } from "../../utils/http.js";

class StudentModel extends HTTP {

	getStudentApi(data) {
		return this.request({
			url: "/wx/student/getStudent",
			data: data,
		})
	}

	// 获取报读学员列表
	getEnrollmentStatusApi(data) {
		return this.request({
			url: "/wx/student/enrollmentStatus",
			data: data,
			method: "GET"
		})
	}

	// 
	getRemainderCountApi(data) {
		return this.request({
			url: "/wx/student/remainderCount",
			data: data,
		})
	}

	// 获取报读课程
	getListSecondApi(data) {
		return this.request({
			url: "/wx/course/listSecond",
			data: data,
		})
	}

	// 
	addStudentToClassSecondApi(data) {
		return this.request({
			url: "/wx/class/addStudentToClassSecond",
			data: data,
		})
	}

	// 停课
	stopsAndResumeApi(data) {
		return this.request({
			url: "/wx/course/stopsAndResume",
			data: data,
		})
	}

	// 结课 
	classEndingApi(data) {
		return this.request({
			url: "/wx/course/classEnding",
			data: data,
		})
	}

	// 修改到期日期
	studentCourseUpdateApi(data) {
		return this.request({
			url: "/wx/course/studentCourseUpdate",
			data: data,
		})
	}

	// 超上处理 
	studentCourseDealExceedApi(data) {
		return this.request({
			url: "/wx/course/studentCourseDealExceed",
			data: data,
		})
	}

	// 订单详情 
	studentCourseDetailApi(data) {
		return this.request({
			url: "/wx/course/studentCourseDetail",
			data: data,
		})
	}

	// 跟进管理 
	followListByIdApi(data) {
		return this.request({
			url: "/wx/student/followListById",
			data: data,
		})
	}
	// 积分 
	getIntegralCountApi(data) {
		return this.request({
			url: "/wx/integral/count",
			data: data,
		})
	}
	// 积分列表 /wx/integral/listSecond
	getIntegralListApi(data) {
		return this.request({
			url: "/wx/integral/listSecond",
			data: data,
			method: "GET"
		})
	}

	getOrderFilterListApi(data) {
		return this.request({
			url: "/wx/course/orderFilterList",
			data: data,
			method: "GET"
		})
	}
}

export { StudentModel }